﻿using System;
using System.Collections.Generic;
using Me.Amon.M;

namespace Me.Amon.KPT
{
    public class MKpt : MVcs
    {
        /// <summary>
        /// 显示排序
        /// </summary>
        public int Order;
        /// <summary>
        /// 任务标签：重要性
        /// </summary>
        public bool Major;
        /// <summary>
        /// 任务标签：紧急性
        /// </summary>
        public bool Label;
        /// <summary>
        /// 项目
        /// </summary>
        public string Project;
        /// <summary>
        /// 任务名称
        /// </summary>
        public string Subject;
        /// <summary>
        /// 相关说明
        /// </summary>
        public string Content;

        public string K;

        public string P;

        public string T;

        /// <summary>
        /// 备注
        /// </summary>
        public List<Memo> Memos;

        /// <summary>
        /// 标签
        /// </summary>
        public List<string> Tags;

        public override string ToString()
        {
            return Subject;
        }

        public string CreateDate
        {
            get
            {
                return CreateTime.ToString("yyyy-MM-dd");
            }
            set
            {
            }
        }
        public string DisplayTime
        {
            get
            {
                return CreateTime.ToString(IEnv.DATEIME_FORMAT);
            }
        }
    }
}
